Skip to content

fix: add space to allocate and accept args#38

Merged
alanshaw merged 1 commit into
mainfrom
ash/fix/add-space-to-alloc-accept
Jun 19, 2026
Merged

fix: add space to allocate and accept args#38
alanshaw merged 1 commit into
mainfrom
ash/fix/add-space-to-alloc-accept

Conversation

@alanshaw

Copy link
Copy Markdown
Member

Add space as argument to /blob/allocate and /blob/accept.

This is part of reverting the change to send allocate and accept delegations from the client. We decided this should in fact be made with the storage provider as the subject and that the upload service should be pre-authorized by the storage provider to invoke.

@alanshaw alanshaw merged commit eb26d87 into main Jun 19, 2026
5 checks passed
@alanshaw alanshaw deleted the ash/fix/add-space-to-alloc-accept branch June 19, 2026 08:36
alanshaw added a commit to fil-forge/sprue that referenced this pull request Jun 19, 2026
)

This is part of reverting the change to send allocate and accept
delegations from the client. We decided this should in fact be made with
the storage provider as the subject and that the upload service should
be pre-authorized by the storage provider to invoke.

This PR:

* Updates the storage provider store to store proofs per provider.
* Adds a proofs arg to the `sprue admin provider register` CLI command.
* Uses proofs from the store instead of the invocation when invoking
`/blob/allocate` or `/blob/accept`.
* Adds some additional validation to the provider registration handler
to ensure required proofs are provided.

Depends on:
* fil-forge/libforge#38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants